<?php
/**
 * Created by PhpStorm.
 * User: 554665488
 * Date: 2018-6-8
 * Time: 0:02
 * @description:
 * @Author: yfl
 * @QQ 554665488
 */
/**
 * sql标准库栈 现进后出
 */
$stack =  new SplStack();
$stack->push("data1\n");
$stack->push("data2\n");
echo $stack->pop();
echo $stack->pop();